package com.wxb.service.impl;

import com.wxb.domain.MallFeedbackEntity;
import com.wxb.mapper.MallFeedbackMapper;
import com.wxb.service.IMallFeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Date 2025-05-30 15:38
 * @Version 1.0
 * @Description
 * @ClassName MallFeedbackServiceImpl
 **/
@Service
public class MallFeedbackServiceImpl implements IMallFeedbackService {
    @Autowired
    private MallFeedbackMapper feedbackMapper;


    public MallFeedbackEntity queryObject(Integer id) {
        return feedbackMapper.queryObject(id);
    }


    public List<MallFeedbackEntity> queryList(Map<String, Object> map) {
        return feedbackMapper.queryList(map);
    }


    public int queryTotal(Map<String, Object> map) {
        return feedbackMapper.queryTotal(map);
    }


    public void save(MallFeedbackEntity feedbackVo) {
        feedbackMapper.save(feedbackVo);
    }


    public void update(MallFeedbackEntity feedbackVo) {
        feedbackMapper.update(feedbackVo);
    }


    public void delete(Integer id) {
        feedbackMapper.delete(id);
    }


    public void deleteBatch(Integer[] ids) {
        feedbackMapper.deleteBatch(ids);
    }

}
